<template>
  <contentModel title="采购订单详情" :has-footer="false" @close="closed">
    <container :row="row" />
  </contentModel>
</template>

<script setup lang="ts">
  import { defineProps, onMounted, defineEmits } from 'vue';
  import contentModel from '@/common/components/content-model/index.vue';
  import container from './container.vue';

  const emit = defineEmits(['closeDrawer']);
  const props = defineProps({
    row: {
      type: Object,
      default: null,
    },
  });

  onMounted(() => {
    console.log('', props);
  });
  // 取消
  const closed = () => {
    emit('closeDrawer');
  };
</script>
